<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			
			var obj = {
				data:[{
					name:"001"
				},{
					name:"002"
				},{
					name:"003"
				},{
					name:"004"
				},{
					name:"005"
				}]
			}
			console.log("obj:",obj);
			
			localStorage.abc = JSON.stringify(obj);
			
			;(function(){
				console.log("自动执行函数");
			}())
			
			
		</script>
	</body>
</html>
